package com.mtsmda.jpa.dao;

import java.util.List;

import com.mtsmda.jpa.domain.Author;

public interface AuthorDAOI {

	public boolean addAuthor(Author author);

	public boolean updateAuthor(Author author);

	public boolean deleteAuthor(Author author);

	public boolean deleteAllAuthors();

	public boolean truncateAuthors();

	public Author getAuthorById(Integer idAuthor);

	public List<Author> getAllAuthors();

}